

package com.hazelcast.internal.config;

import com.hazelcast.config.PartitioningAttributeConfig;

/**
 * Read-only counterpart of {@link PartitioningAttributeConfig} class.
 */
public class PartitioningAttributeConfigReadOnly extends PartitioningAttributeConfig {

    public PartitioningAttributeConfigReadOnly(PartitioningAttributeConfig config) {
        super(config);
    }

    @Override
    public void setAttributeName(final String attributeName) {
        throw new UnsupportedOperationException("This config is read-only");
    }
}
